
started = False  # the status of the car

while True:
    user_input = input("> ")
    if user_input.lower() == 'help':
        print('''
start - to start the car
stop - to stop the car
quit - to exit
        ''')
    elif user_input.lower() == 'start':
        if started:  # the status of the car is "the car is already started"
            print("Car is already started!")
        else:  # the status of the car is "the car is not started"
            started = True  # Set the status of the car to True.
            print('Car started, ready to go.')
    elif user_input.lower() == 'stop':
        if not started:
            print("Car is already stopped!")
        else:
            started = False
            print('Car stopped.')
    elif user_input.lower() == 'quit':
        break
    else:
        print("I don't understand that")
# user_input = input(">")
# if user_input == 'help':
#     print('''
#     start - to start the car
#     stop - to stop the car
#     quit - to exit
#     ''')
# elif user_input == 'start':
#     print('Car started, ready to go.')
# elif user_input == 'stop':
#     print('Car stopped.')
# elif user_input == 'quit':
#     # break
#     pass
# else:
#     print("I don't understand that")
